package com.canqiang.docadvice;

import android.app.ActivityGroup;
import android.content.Intent;
import android.os.Bundle;
import android.widget.LinearLayout;

public class PatientInCourseActivity extends ActivityGroup {
	private LinearLayout container = null;
	@Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.patientincourse);
        container = (LinearLayout) findViewById(R.id.incourse);
        startInCourseList();
	}
	public void startInCourseList(){
		container.removeAllViews();
		container.addView(getLocalActivityManager().startActivity(
                "patientincourselist",
                new Intent(PatientInCourseActivity.this,PatientInCourseListActivity.class)
                .addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP)).getDecorView());
	}
}
